import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

// 按需引入element
import '@/config/element.js';
import 'element-ui/lib/theme-chalk/index.css';

// 引入echarts
import echarts from 'echarts'
Vue.prototype.$echarts = echarts

// ajax
import { post, fetch } from './config/axios'
import axios from "axios";
Vue.prototype.axios = axios;
Vue.prototype.$get = fetch;
Vue.prototype.$post = post;

// dayjs 日期处理
import dayjs from 'dayjs'
Vue.prototype.dayjs = dayjs



Vue.config.productionTip = false;
new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
